package com.ruoyi.sl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 模块对象 sl_module
 * 
 * @author admin
 * @date 2024-06-03
 */
public class SlModule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long moduleId;

    /** 模块名称 */
    @Excel(name = "模块名称")
    private String moduleName;

    /** 编码 */
    @Excel(name = "编码")
    private String moduleCode;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer moduleSort;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 对应部门ID */
    @Excel(name = "对应部门ID")
    private Long deptId;

    public void setModuleId(Long moduleId) 
    {
        this.moduleId = moduleId;
    }

    public Long getModuleId() 
    {
        return moduleId;
    }
    public void setModuleName(String moduleName) 
    {
        this.moduleName = moduleName;
    }

    public String getModuleName() 
    {
        return moduleName;
    }
    public void setModuleCode(String moduleCode) 
    {
        this.moduleCode = moduleCode;
    }

    public String getModuleCode() 
    {
        return moduleCode;
    }
    public void setModuleSort(Integer moduleSort) 
    {
        this.moduleSort = moduleSort;
    }

    public Integer getModuleSort() 
    {
        return moduleSort;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("moduleId", getModuleId())
            .append("moduleName", getModuleName())
            .append("moduleCode", getModuleCode())
            .append("moduleSort", getModuleSort())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
